import {AutoFormItem} from "@/interface/auto-form.ts";

/**
 * 新增/编辑影片的数据类型
 */
export interface MovieReqVO{
    id?:number;
    chineseName:string;
    englishName:string;
    type:number|undefined;
    movieLanguage:string;
    duration:string;
    images:string;
    releaseTime:string;
    isSell:number;
}
/**
 * 新增/编辑影片的表单数据类型
 */
export interface MovieFormReqVO{
    id?:AutoFormItem;
    chineseName:AutoFormItem;
    englishName:AutoFormItem;
    type:AutoFormItem;
    score:AutoFormItem;
    actors:AutoFormItem;
    movieLanguage:AutoFormItem;
    duration:AutoFormItem;
    images:AutoFormItem;
    releaseTime:AutoFormItem;
    isSell:AutoFormItem;
}
/**
 * 分页查询提交的用户数据
 */
export interface PageMovieReqVO{
    current:number;
    size:number;
    chineseName?:string;
}

/**
 * 分页查询接收的用户数据
 */
export interface PageMovieRespVO{
    id:number;
    chineseName:string;
    englishName:string;
    type:number;
    typeName:string;
    score:string;
    actors:string;
    movieLanguage:string;
    duration:string;
    images:string;
    releaseTime:string;
    isSell:number;
    isDel:number;
}